package com.kaibes.platform.currency.db;

import org.springframework.stereotype.Service;

import com.kaibes.web.api.ResponseServiceImpl;

@Service
public class CurrencyService extends ResponseServiceImpl<Currency> {
    
    public String getNameById(Integer id) {
        Currency temp = getById(id, "name");
        if (temp == null) {
            return null;
        } else {
            return temp.getName();
        }
    }
    
}
